﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Product 的摘要说明
/// </summary>




[Serializable]
public class Product
{
    private string productId;
    private string productName;
    private double price;
    private int quantity;
    private double amount;

    public string ProductId
    {
        set { productId = value; }
        get { return productId; }
    }
    public string ProductName
    {
        set { productName = value; }
        get { return productName; }
    }
    public double Price
    {
        set { price = value; }
        get { return price; }
    }
    public int Quantity
    {
        set { quantity = value; }
        get { return quantity; }
    }
    public double Amount
    {
        set { amount = value; }
        get { return amount; }
    }

    public Product(string productId, string productName, double price, int quantity, double amount)
    {
        this.productId = productId;
        this.productName = productName;
        this.price = price;
        this.quantity = quantity;
        this.amount = amount;
    }
    public Product()
    {
    }





}


